package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-05 
 */

@ApiModel (value ="特种工人表实体类",description = "SpecialPersonnel")
public class SpecialPersonnel {
	/**
	 * 特种人员表id
	 */
   	@ApiModelProperty(value = "特种人员表id", name = "id")
	private Integer id;

	/**
	 * 姓名
	 */
   	@ApiModelProperty(value = "姓名", name = "personName")
	private String personName;

	/**
	 * 身份证号
	 */
   	@ApiModelProperty(value = "身份证号", name = "personCard")
	private String personCard;

	/**
	 * 手机号
	 */
   	@ApiModelProperty(value = "手机号", name = "personPhone")
	private String personPhone;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 分包单位ID
	 */
   	@ApiModelProperty(value = "分包单位ID", name = "subcontractorsId")
	private Integer subcontractorsId;

	/**
	 * 分包单位名称
	 */
	@ApiModelProperty(value = "分包单位名称", name = "subcontractorsName")
	private String subcontractorsName;

	/**
	 * 班组ID
	 */
   	@ApiModelProperty(value = "班组ID", name = "teamId")
	private Integer teamId;

	/**
	 * 班组I名称
	 */
	@ApiModelProperty(value = "班组ID", name = "teamName")
	private String teamName;

	/**
	 * 证件类型id
	 */
   	@ApiModelProperty(value = "证件类型id", name = "certificateId")
	private Integer certificateId;

	/**
	 * 证件类型名称
	 */
	@ApiModelProperty(value = "证件类型名称", name = "certificateName")
	private String certificateName;

	/**
	 * 特种证件编号
	 */
   	@ApiModelProperty(value = "特种证件编号", name = "certificateCard")
	private String certificateCard;

	/**
	 * 发证机关
	 */
   	@ApiModelProperty(value = "发证机关", name = "certificateOffice")
	private String certificateOffice;

	/**
	 * 发证日期
	 */
   	@ApiModelProperty(value = "发证日期", name = "licenceIssued")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date licenceIssued;

	/**
	 * 有效期开始日期
	 */
   	@ApiModelProperty(value = "有效期开始日期", name = "expiryDateStart")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date expiryDateStart;

	/**
	 * 有效期结束日期
	 */
   	@ApiModelProperty(value = "有效期结束日期", name = "expiryDateEnd")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date expiryDateEnd;

	/**
	 * 附件
	 */
   	@ApiModelProperty(value = "附件", name = "accessory")
	private String accessory;

	public SpecialPersonnel(){ super(); }

	public SpecialPersonnel(Integer id, String personName, String personCard, String personPhone, Integer projectId, Integer subcontractorsId, String subcontractorsName, Integer teamId, String teamName, Integer certificateId, String certificateName, String certificateCard, String certificateOffice, Date licenceIssued, Date expiryDateStart, Date expiryDateEnd, String accessory) {
		this.id = id;
		this.personName = personName;
		this.personCard = personCard;
		this.personPhone = personPhone;
		this.projectId = projectId;
		this.subcontractorsId = subcontractorsId;
		this.subcontractorsName = subcontractorsName;
		this.teamId = teamId;
		this.teamName = teamName;
		this.certificateId = certificateId;
		this.certificateName = certificateName;
		this.certificateCard = certificateCard;
		this.certificateOffice = certificateOffice;
		this.licenceIssued = licenceIssued;
		this.expiryDateStart = expiryDateStart;
		this.expiryDateEnd = expiryDateEnd;
		this.accessory = accessory;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public String getPersonCard() {
		return personCard;
	}

	public void setPersonCard(String personCard) {
		this.personCard = personCard;
	}

	public String getPersonPhone() {
		return personPhone;
	}

	public void setPersonPhone(String personPhone) {
		this.personPhone = personPhone;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getSubcontractorsId() {
		return subcontractorsId;
	}

	public void setSubcontractorsId(Integer subcontractorsId) {
		this.subcontractorsId = subcontractorsId;
	}

	public String getSubcontractorsName() {
		return subcontractorsName;
	}

	public void setSubcontractorsName(String subcontractorsName) {
		this.subcontractorsName = subcontractorsName;
	}

	public Integer getTeamId() {
		return teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public Integer getCertificateId() {
		return certificateId;
	}

	public void setCertificateId(Integer certificateId) {
		this.certificateId = certificateId;
	}

	public String getCertificateName() {
		return certificateName;
	}

	public void setCertificateName(String certificateName) {
		this.certificateName = certificateName;
	}

	public String getCertificateCard() {
		return certificateCard;
	}

	public void setCertificateCard(String certificateCard) {
		this.certificateCard = certificateCard;
	}

	public String getCertificateOffice() {
		return certificateOffice;
	}

	public void setCertificateOffice(String certificateOffice) {
		this.certificateOffice = certificateOffice;
	}

	public Date getLicenceIssued() {
		return licenceIssued;
	}

	public void setLicenceIssued(Date licenceIssued) {
		this.licenceIssued = licenceIssued;
	}

	public Date getExpiryDateStart() {
		return expiryDateStart;
	}

	public void setExpiryDateStart(Date expiryDateStart) {
		this.expiryDateStart = expiryDateStart;
	}

	public Date getExpiryDateEnd() {
		return expiryDateEnd;
	}

	public void setExpiryDateEnd(Date expiryDateEnd) {
		this.expiryDateEnd = expiryDateEnd;
	}

	public String getAccessory() {
		return accessory;
	}

	public void setAccessory(String accessory) {
		this.accessory = accessory;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", personName='" + personName + '\'' +
				", personCard='" + personCard + '\'' +
				", personPhone='" + personPhone + '\'' +
				", projectId=" + projectId +
				", subcontractorsId=" + subcontractorsId +
				", subcontractorsName=" + subcontractorsName +
				", teamId=" + teamId +
				", teamName=" + teamName +
				", certificateId=" + certificateId +
				", certificateName=" + certificateName +
				", certificateCard='" + certificateCard + '\'' +
				", certificateOffice='" + certificateOffice + '\'' +
				", licenceIssued=" + licenceIssued +
				", expiryDateStart=" + expiryDateStart +
				", expiryDateEnd=" + expiryDateEnd +
				", accessory='" + accessory + '\'' +
				'}';
	}
}
